package cc.md888.app.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 激活码
 * </p>
 *
 * @author maodou
 * @since 2025-08-31 15:47:43
 */
@Getter
@Setter
@TableName("activate_code")
public class ActivateCode implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 激活令牌
     */
    private String token;

    /**
     * 激活码
     */
    private String code;

    /**
     * 过期时间
     */
    private LocalDateTime expireAt;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 更新时间
     */
    private LocalDateTime updateAt;


    public static final String ID = "id";

    public static final String EMAIL = "email";

    public static final String TOKEN = "token";

    public static final String CODE = "code";

    public static final String STATUS = "status";

    public static final String CREATE_AT = "create_at";

    public static final String UPDATE_AT = "update_at";

}
